<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>夺金网--增加商品</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>&nbsp; 
  <form action="${contextPath }/product.do?operation=add" method="POST" enctype="multipart/form-data">
  <table>
  	<tr>
  		<td width="100">商品名称：</td>
  		<td width="233"><input type="text" id="productName" name="productName" value="${productName }" /></td>
  	</tr>
  	<tr>
  		<td width="100">出售底价：</td>
  		<td  width="233"><input type="text" id="basePrice" name="basePrice" value="${basePrice }" /></td>
  	</tr>
  	<tr>
  		<td width="100">市场价 ：</td>
  		<td  width="233"><input type="text" id="marketPrice" name="marketPrice" value="${marketPrice }" /></td>
  	</tr>
  </table>
  <table>
  	<tr>
  		<td width="100">商品图片1：</td>
  		<td width="235"><input type="file" id="imgFile1" name="imgFile1" value="${image1 }" />(必填)</td>
  	</tr>
  	<tr>
  		<td width="100">商品图片2：</td>
  		<td width="235"><input type="file" id="imgFile2" name="imgFile2" value="${image2 }" /></td>
  	</tr>
  	<tr>
  		<td width="100">商品图片3：</td>
  		<td width="235"><input type="file" id="imgFile3" name="imgFile3" value="${image3 }" /></td>
  	</tr>
  </table>
    商品特征介绍：<br /><br />
    (请按照 特征参数名称：特征参数值输入，一个参数输入完后请换行。)
           <textarea rows="20" cols="50" id="details" name="details">${details }</textarea><br /><br />
    
            <input type="submit" id="submit" name="submit" value="提交" />
  </form>
  </body>
</html>
